//
//  PendulumView.h
//  PendulumView
//
//  Created by Tu You on 14-1-19.
//  Copyright (c) 2014年 Tu You. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface PendulumView : UIView

@property (nonatomic, assign) BOOL hidesWhenStopped;

- (id)initWithFrame:(CGRect)frame;
- (id)initWithFrame:(CGRect)frame ballImage:(NSString *)ballImage;
- (id)initWithFrame:(CGRect)frame ballImage:(NSString *)ballImage ballDiameter:(CGFloat)ballDiameter;

- (void)startAnimating;
- (void)stopAnimating;
- (BOOL)isAnimating;

@end

// 版权属于原作者
// http://code4app.com (cn) http://code4app.net (en)
// 发布代码于最专业的源码分享网站: Code4App.com
